package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;


/**
 * 隐蔽工程：设备基础
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 15:00:41
 */
public class CBasicsWorkEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//guid
	private String guid;

	private String pGuid;
	//所属隐蔽工程ID
	private String mCGuid;
	//所属隐蔽工程名称
	private String mCName;
	//外形尺寸
	@NotBlank(message="外形尺寸不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWContour;

	//基坑实有标高
	@NotBlank(message="基坑实有标高不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWHigh;

	//基坑开挖尺寸
	@NotBlank(message="基坑开挖尺寸不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWDig;

	//基坑埋设深度
	@NotBlank(message="基坑埋设深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWDepth;

	//水泥强度等级
	@NotBlank(message="水泥强度等级不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWGrade;

	//检查结果
	@NotBlank(message="检查结果不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bWResult;

	//添加时间
//	@NotBlank(message="记录时间不能为空", groups = {AddGroup.class, UpdateGroup.class})
//	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date bWAddtime;

	//状态
	private String bWDatastate;


	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}

	public String getPGuid() {
		return pGuid;
	}

	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}

	/**
	 * 设置：所属隐蔽工程ID
	 */
	public void setMCGuid(String mCGuid) {
		this.mCGuid = mCGuid;
	}
	/**
	 * 获取：所属隐蔽工程ID
	 */
	public String getMCGuid() {
		return mCGuid;
	}
	/**
	 * 设置：所属隐蔽工程名称
	 */
	public void setMCName(String mCName) {
		this.mCName = mCName;
	}
	/**
	 * 获取：所属隐蔽工程名称
	 */
	public String getMCName() {
		return mCName;
	}
	/**
	 * 设置：外形尺寸
	 */
	public void setBWContour(String bWContour) {
		this.bWContour = bWContour;
	}
	/**
	 * 获取：外形尺寸
	 */
	public String getBWContour() {
		return bWContour;
	}
	/**
	 * 设置：基坑实有标高
	 */
	public void setBWHigh(String bWHigh) {
		this.bWHigh = bWHigh;
	}
	/**
	 * 获取：基坑实有标高
	 */
	public String getBWHigh() {
		return bWHigh;
	}
	/**
	 * 设置：基坑开挖尺寸
	 */
	public void setBWDig(String bWDig) {
		this.bWDig = bWDig;
	}
	/**
	 * 获取：基坑开挖尺寸
	 */
	public String getBWDig() {
		return bWDig;
	}
	/**
	 * 设置：基坑埋设深度
	 */
	public void setBWDepth(String bWDepth) {
		this.bWDepth = bWDepth;
	}
	/**
	 * 获取：基坑埋设深度
	 */
	public String getBWDepth() {
		return bWDepth;
	}
	/**
	 * 设置：水泥强度等级
	 */
	public void setBWGrade(String bWGrade) {
		this.bWGrade = bWGrade;
	}
	/**
	 * 获取：水泥强度等级
	 */
	public String getBWGrade() {
		return bWGrade;
	}
	/**
	 * 设置：检查结果
	 */
	public void setBWResult(String bWResult) {
		this.bWResult = bWResult;
	}
	/**
	 * 获取：检查结果
	 */
	public String getBWResult() {
		return bWResult;
	}
	/**
	 * 设置：添加时间
	 */
	public void setBWAddtime(Date bWAddtime) {
		this.bWAddtime = bWAddtime;
	}
	/**
	 * 获取：添加时间
	 */
	public Date getBWAddtime() {
		return bWAddtime;
	}
	/**
	 * 设置：状态
	 */
	public void setBWDatastate(String bWDatastate) {
		this.bWDatastate = bWDatastate;
	}
	/**
	 * 获取：状态
	 */
	public String getBWDatastate() {
		return bWDatastate;
	}
}
